JAMS Developer Guide
Find(IEnumerable<HistorySelection>,DateTime,DateTime,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,HistorySearchOptions,Server) Method


MVPSI.JAMS Namespace > History Class > Find Method : Find(IEnumerable<HistorySelection>,DateTime,DateTime,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean,HistorySearchOptions,Server) Method
Searches for job execution history which matches the selection criteria.
Syntax
'Declaration
 
Public Overloads Shared Function Find( _
   ByVal historySelection As System.Collections.Generic.IEnumerable(Of HistorySelection), _
   ByVal startDate As System.Date, _
   ByVal endDate As System.Date, _
   ByVal includeSuccess As System.Boolean, _
   ByVal includeInfo As System.Boolean, _
   ByVal includeWarning As System.Boolean, _
   ByVal includeError As System.Boolean, _
   ByVal includeFatal As System.Boolean, _
   ByVal checkSched As System.Boolean, _
   ByVal checkHold As System.Boolean, _
   ByVal checkStart As System.Boolean, _
   ByVal checkCompletion As System.Boolean, _
   ByVal searchOptions As HistorySearchOptions, _
   ByVal js As Server _
) As System.Collections.Generic.ICollection(Of History)
'Usage
 
Dim historySelection As System.Collections.Generic.IEnumerable(Of HistorySelection)
Dim startDate As System.Date
Dim endDate As System.Date
Dim includeSuccess As System.Boolean
Dim includeInfo As System.Boolean
Dim includeWarning As System.Boolean
Dim includeError As System.Boolean
Dim includeFatal As System.Boolean
Dim checkSched As System.Boolean
Dim checkHold As System.Boolean
Dim checkStart As System.Boolean
Dim checkCompletion As System.Boolean
Dim searchOptions As HistorySearchOptions
Dim js As Server
Dim value As System.Collections.Generic.ICollection(Of History)
 
value = History.Find(historySelection, startDate, endDate, includeSuccess, includeInfo, includeWarning, includeError, includeFatal, checkSched, checkHold, checkStart, checkCompletion, searchOptions, js)
public static System.Collections.Generic.ICollection<History> Find( 
   System.Collections.Generic.IEnumerable<HistorySelection> historySelection,
   System.DateTime startDate,
   System.DateTime endDate,
   System.bool includeSuccess,
   System.bool includeInfo,
   System.bool includeWarning,
   System.bool includeError,
   System.bool includeFatal,
   System.bool checkSched,
   System.bool checkHold,
   System.bool checkStart,
   System.bool checkCompletion,
   HistorySearchOptions searchOptions,
   Server js
)

Parameters

historySelection
startDate
endDate
includeSuccess
includeInfo
includeWarning
includeError
includeFatal
checkSched
checkHold
checkStart
checkCompletion
searchOptions
js
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

History Class
History Members
Overload List